enum Direction {
  Up,
  Down,
  Left,
  Right,
}

enum FileAccess {
  // constant members
  None,
  Read    = 1 << 1,
  Write   = 1 << 2,
  ReadWrite  = Read | Write,
  // computed member
  G = "123".length
}

console.log(FileAccess.Read|FileAccess.Write)


let x = (a: number) => 0;
let y = (b: number, s: string) => 0;

y = x; // OK
//x = y; // Error

class Ryan {
   name:string
   constructor(name:string) {
     this.name=name
   }


}
